package com.whxy02.tolearn.app.beans;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 话题/讨论表
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_topic")
public class Topic {
    @TableId(value = "topic_id",type = IdType.AUTO)
    private Integer topicId;
    private Integer userId;
    private String details;
    private String  commentId;
}
